]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Disable overlay for inactive workspaces too
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 5 Feb 2021 16:39:13 +0000 (13:39 -0300)
committerMarge Bot <marge-bot@gnome.org>
Thu, 11 Feb 2021 17:21:48 +0000 (17:21 +0000)
commit86cefd906bfc3c5a5d2f7b73830b551a1d5c3ee7
tree280bd8fc38ca06b50a26046eace56ff259da0c3a
parent2e817d3fa8cf3697511b7fca59e2ebeb82d2ee15
workspace: Disable overlay for inactive workspaces too

In addition to disabling the overlay when the state is not 1,
disable it also when not in the active workspace.

Make the Workspace class track the workspace's active state,
and resync the overlays when it changes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1645>
js/ui/workspace.js